﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x02000217 RID: 535
	public class CommonStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x06001254 RID: 4692 RVA: 0x00318992 File Offset: 0x00316B92
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			CommonStmtFormatter commonStmtFormatter = formatterArg as CommonStmtFormatter;
			commonStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			commonStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
			commonStmtFormatter.addStmtProcessor(ProcessorFactory.createStmtListProcessor(this.Option, null));
		}

		// Token: 0x06001255 RID: 4693 RVA: 0x003189CD File Offset: 0x00316BCD
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new CommonStmtFormatter();
		}
	}
}
